package com.spring.test.service.Impl;

import com.spring.test.dao.Impl.PersonDaoImpl;
import com.spring.test.service.ShowService;

/**
 * @author ChaunceyZhang
 * @date 2022-10-15 21:00
 * @blog1 https://zephyr-cyber.github.io/
 * @blog2 https://www.yuque.com/gougougou-xwscx
 */
public class ShowServiceImpl implements ShowService {
        private PersonDaoImpl person;
        public PersonDaoImpl getPerson() {
            return person;
        }
        public void setPerson(PersonDaoImpl person) {
            this.person = person;
        }
        @Override
        public void show() {
            person.say();
        }
    }
